package com.shuoren.roomtemperaturecloud.service;
import com.shuoren.roomtemperaturecloud.entity.RtcHourReport;
import com.shuoren.roomtemperaturecloud.entity.SystemUser;
import com.shuoren.roomtemperaturecloud.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: chenkai
 * @Date: 2018/12/26 14:52
 */
@Service
public class UserService {
    @Autowired
    private UserRepository userRepository;

    public SystemUser save(SystemUser user) {
        return userRepository.save(user);
    }
}